<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.util.*"%>
<%@ page trimDirectiveWhitespaces="true" %> 
<%  
	request.setCharacterEncoding("UTF-8");
     String json;
    json = "";
    json += "{\n";
    json += "\"page\":\"" + 1 + "\",\n";
    json += "\"total\":\"" + 50 + "\",\n";
    json += "\"rows\":[";
    boolean rc = false;
    //这里只是模拟了一些数据，实际应该从数据库查询或其它方式获取数据
    for (int i = 0; i <= 20; i++)
    {
      if (rc)
	  json += ",";
      json += "\n{";
      json += "\"id\":\"id"+ i + "\",";
	  json += "\"cell\":[\"id"+ i + "\",\"iso" + i + "\"";
      json += ",\"name"+ i + "\"";
	  json += ",\"printable_name"+ i + "\"";
	  json += ",\"iso3"+ i + "\"";
      json += ",\"numcode"+ i + "\"]";
	  json += "}";
	  rc = true;
    }
    json += "]\n";
    json += "}";
%>
<%=json%>
